﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Teein.LiNing.DAL;
using SmApiLibrary.datatypes.Interface;
using SmApiLibrary.libs;

namespace Teein.LiNing.BLL
{
    public class AccountBLL
    {
        public int InsertAccount(IUser user, OAuthBase oauth)
        {
            AccountDAL dal = new AccountDAL();
            return dal.InsertAccount(user,oauth);
        }

        public int SelectAccountIdByUid(string uid)
        {
            AccountDAL dal = new AccountDAL();
            return dal.SelectAccountIdByUid(uid);
        }
    }
}
